<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="wide" name="wide"   type="hidden">
						<input id="hight" name="hight"   type="hidden">
						<div class="form-group">
								<label class="col-sm-3 control-label">课程分类：</label>
								<div class="col-sm-8">
									<select data-placeholder="--选择分类--" name="classId" id="classId"
											class="form-control chosen-select" tabindex="2" required>
										<option value="">--选择分类--</option>
									</select>
								</div>
							</div>
						
							<!-- <div class="form-group">	
								<label class="col-sm-3 control-label">分类id：</label>
								<div class="col-sm-8">
									<input id="classId" name="classId" class="form-control" type="text">
								</div>
							</div> -->
							<div class="form-group">	
								<label class="col-sm-3 control-label">视频id：</label>
								<div class="col-sm-8">
									<input id="lessonId" name="lessonId" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">
								<label class="col-sm-3 control-label">封面图：</label>
								<div class="col-sm-8">

									<div id="file_upload">
									</div>
									建议图片像素:220px*260px
									<div id="logo" style="padding: 5px;"></div>
									<input type="hidden" id="imgurl" name="imgurl">
								</div>
							</div>
														<div class="form-group">
								<label class="col-sm-3 control-label">详情图：</label>
								<div class="col-sm-8">

									<div id="file_upload_img">
									</div>
									建议图片像素:710px*450px
									<div id="logo_img" style="padding: 5px;"></div>
									<input type="hidden" id="img" name="img">
								</div>
							</div>
														<!-- <div class="form-group">	
								<label class="col-sm-3 control-label">图片高：</label>
								<div class="col-sm-8">
									<input id="hight" name="hight" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">图片宽：</label>
								<div class="col-sm-8">
									<input id="wide" name="wide" class="form-control" type="text">
								</div>
							</div> -->
														<div class="form-group">	
								<label class="col-sm-3 control-label">名字：</label>
								<div class="col-sm-8">
									<input id="name" name="name" class="form-control" type="text" maxlength="50" placeholder="最多50个字">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">简介：</label>
								<div class="col-sm-8">
									<input id="intro" name="intro" class="form-control" type="text" maxlength="50" placeholder="最多50个字">
								</div>
							</div>
														<div class="form-group">
								<input id="outline" name="outline" type="hidden"> <label
									class="col-sm-3 control-label">课程大纲：</label>
								<div class="col-sm-8">
									<div class="ibox-content no-padding">
										<div id="content_sn" class="summernote"></div>
									</div>
								</div>
							</div>
														<!-- <div class="form-group">	
								<label class="col-sm-3 control-label">推荐0推荐1不推荐：</label>
								<div class="col-sm-8">
									<input id="recommend" name="recommend" class="form-control" type="text">
								</div>
							</div> -->
														<!-- <div class="form-group">	
								<label class="col-sm-3 control-label">0音频1视频：</label>
								<div class="col-sm-8">
									<input id="videoFlag" name="videoFlag" class="form-control" type="text">
								</div>
							</div> -->
														<div class="form-group">	
								<label class="col-sm-3 control-label">观看人数：</label>
								<div class="col-sm-8">
									<input id="number" name="number" class="form-control" type="number" value='0'>
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">排序：</label>
								<div class="col-sm-8">
									<input id="localtion" name="localtion" class="form-control" type="number">
								</div>
							</div>
							
							<div class="form-group" id='divMessage'>
										<label for="status" class="col-sm-3 control-label">显示/隐藏：</label>

										<div id="videoFlag" class="col-sm-8" style="float: left;text-align: left">
											<input type="radio" name="status" value="0" checked>显示
											<input type="radio" name="status" value="1" >隐藏

										</div>
									</div>
														<!-- <div class="form-group">	
								<label class="col-sm-3 control-label">0显示1不显示：</label>
								<div class="col-sm-8">
									<input id="status" name="status" class="form-control" type="text">
								</div>
							</div> -->
														<!-- <div class="form-group">	
								<label class="col-sm-3 control-label">创建时间：</label>
								<div class="col-sm-8">
									<input id="caAt" name="caAt" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">修改时间：</label>
								<div class="col-sm-8">
									<input id="upAt" name="upAt" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">删除标记(0默认1删除)：</label>
								<div class="col-sm-8">
									<input id="delFlag" name="delFlag" class="form-control" type="text">
								</div>
							</div> -->
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	
	<div th:include="include::footer"></div>
	<script src="/js/layui.js"></script>
	<script type="text/javascript" src="/js/appjs/wx/lesson/add.js">
	</script>
</body>
</html>
